﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;

namespace ForceSystem.Untangler
{
    public class UntangledAssemblyCollection : Collection<UntangledAssembly>
    {
        public UntangledAssemblyCollection()
        {
        }

        public UntangledAssemblyCollection(IList<UntangledAssembly> assemblies)
            : base(assemblies)
        {
        }

        public static UntangledAssemblyCollection FromEnumerable( IEnumerable<UntangledAssembly> assemblies)
        {
            return new UntangledAssemblyCollection(assemblies.ToList());
        }
    }
}
